" 
if get(s:, 'loaded', 0) != 0
    finish
else
    let s:loaded = 1
endif

" get the directory of this file init.vim 
let s:home = fnamemodify(resolve(expand('<sfile>:p')), ':h')

" define a command used to load file
command! -nargs=1 LoadScript exec 'so '.s:home.'/'.'<args>'

" add the directory of this project to rumtimepath
exec 'set rtp+='.s:home

" add ~/.vim directory to runtimepath
set rtp+=~/.vim


"-----------------------------
" Load Module
"----------------------------

" load basic config


" load extension config


" set tabsize


" load plugin
LoadScript init/init-plugins.vim


" layout
LoadScript init/init-style.vim

" custom keys mapping


